/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 */

import React, { Component } from 'react';
import { Provider,connect } from 'react-redux'
import store from './src/store'
import { Router } from 'react-native-router-flux'
import { scenes } from './src/scenes'
const RouterWithRedux = connect()(Router)

export default class App extends Component {
  render() {
    return (
      <Provider store={store} >
        <RouterWithRedux scenes={scenes} />
      </Provider>
    );
  }
}
